home *** CD-ROM | disk | FTP | other *** search
/ Hottest 6 / Hottest 6 (1996)(PDSoft)[!].iso / software / programming / c / sipp / include / viewpoint.h < prev    next >
Encoding:
C/C++ Source or Header  |  1978-11-24  |  1.3 KB  |  42 lines

  1. /**
  2.  ** sipp - SImple Polygon Processor
  3.  **
  4.  **  A general 3d graphic package
  5.  **
  6.  **  Copyright Equivalent Software HB  1992
  7.  **
  8.  ** This program is free software; you can redistribute it and/or modify
  9.  ** it under the terms of the GNU General Public License as published by
  10.  ** the Free Software Foundation; either version 1, or any later version.
  11.  ** This program is distributed in the hope that it will be useful,
  12.  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  ** GNU General Public License for more details.
  15.  ** You can receive a copy of the GNU General Public License from the
  16.  ** Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  **/
  18.  
  19. /**
  20.  ** viewpoint.h - Types and interface to viewpoint.c
  21.  **/
  22.  
  23. #ifndef VIEWPOINT_H
  24. #define VIEWPOINT_H
  25.  
  26. #include <geometric.h>
  27. #include <sipp.h>
  28.  
  29. #define ZCLIPF 100.0        /* Magic number used when defining hither & yon */
  30.  
  31.  
  32. extern Camera   *sipp_current_camera; /* Viewpoint of the scene  */
  33. extern double    hither;              /* Hither z-clipping plane */
  34. extern double    yon;                 /* Yonder z-clipping plane */
  35.  
  36. extern void      camera_init();
  37. extern void      view_vec_eval();
  38. extern void      get_view_transf();
  39.  
  40.  
  41. #endif /* VIEWPOINT_H */
  42.